//
//  LCCommonTool.h
//  lcs_b
//
//  Created by chaiyanan on 15/6/2.
//  Copyright (c) 2015年 LC. All rights reserved.
//

#import <Foundation/Foundation.h>

#define Key_CancelBtnTag    1001
#define Key_SendBtnTag      1002

@interface LCCommonTool : NSObject

+(UILabel *)LabelWithRect:(CGRect)rect textColor:(UIColor *)color textstr:(NSString *)str textfont:(int)font textstyle:(NSTextAlignment)aligment superView:(UIView *)fatherView;
+(UITextField *)TextFieldWithRect:(CGRect)rect textColor:(UIColor *)color textstr:(NSString *)str placeHolderStr:(NSString *)placeHolderStr textfont:(int)font textstyle:(NSTextAlignment)aligment superView:(UIView *)fatherView;
+(UIButton *)ButtonWithRect:(CGRect)rect bgColor:(UIColor *)color textstr:(NSString *)str textfont:(int)font withTag:(NSInteger)tag superView:(UIView *)fatherView andTarget:(id)target  action:(SEL)action;
+(UIButton *)ButtonWithRect:(CGRect)rect bgColor:(UIColor *)color textColor:(UIColor *)textColor textstr:(NSString *)str textfont:(int)font withTag:(NSInteger)tag superView:(UIView *)fatherView andTarget:(id)target  action:(SEL)action;
+(UIButton *)ButtonWithRect:(CGRect)rect bgColor:(UIColor *)color textColor:(UIColor *)textColor textstr:(NSString *)str textfont:(int)font textAlignment:(UIControlContentHorizontalAlignment)aligment withTag:(NSInteger)tag superView:(UIView *)fatherView andTarget:(id)target action:(SEL)action;
+(UIView *)ImageLineWithRect:(CGRect)rect textColor:(UIColor *)color superView:(UIView *)fatherView;
+(UIImageView *)ImageViewWithRect:(CGRect)rect imageName:(NSString *)imageName  contentMode:(UIViewContentMode)contentMode superView:(UIView *)fatherView;


@end
